<div class="main padder">
    <div class="row">
        <div class="col-lg-4 col-lg-offset-4 m-t-large">
            <section class="panel">
                <header class="panel-heading text-center">Login</header>
                @if(Session::has('message'))
                    <p class="alert alert-danger">{{ Session::get('message') }}</p>
                @endif
                {{ Form::open(array('class'=>'panel-body', 'url'=>'admin/login','role'=>'form')) }}
                    <div class="block">
                        <label class="control-label">Email</label>
                        {{ Form::text('email', null, array('id'=>'inputEmail','class'=>'form-control', 'placeholder'=>'test@example.com')) }}
                    </div>
                    <div class="block">
                        <label class="control-label">Password</label>
                        {{ Form::password('password', array('id'=>'inputPassword', 'class'=>'form-control', 'placeholder'=>'Password')) }}
                    </div>
                    <div class="checkbox">
                        <label><input type="checkbox" value="keep_logged"> Keep me logged in</label>
                    </div>
                    <a href="#" class="pull-right m-t-mini"><small>Forgot password?</small></a>
                    {{ Form::submit('Login', array('class'=>'btn btn-primary'))}}
                {{ Form::close() }}
            </section>
        </div>
    </div>
</div>

